﻿using PluginDB;

namespace App_Code.SiteParsers
{
    public delegate void DlgAddVideoHandler(PluginVideoInfo pluginVideoInfo);
    public delegate bool DlgIsVideoExistsHandler(string pluginUrl);
    
    /// <summary>
    /// Summary description for ISiteScanner
    /// </summary>
    public interface ISiteScanner
    {
        DlgAddVideoHandler DlgAddVideoHandler { get; set; }
        DlgIsVideoExistsHandler DlgIsVideoExistsHandler { get; set; }
        
        string Name { get; set; }

        int GetMoviesLastPageNumber();
        void ScanForMovies(int pagesToScan);

        int GetSeriesLastPageNumber();
        void ScanForSeries(int pagesToScan);
    }
}